package com.qk.enums;

/**
 *
 * @author lyl
 * @created 2025/10/10 15:57
 * @description
 *
 */

public enum ParamEnum implements Code{
    PARAM_ERROR("参数错误",10001),
    PARAM_NOT_EXIST("不存在",10005),;


    private final String msg;
    private final Integer code;

    ParamEnum(String msg,Integer code){
        this.msg = msg;
        this.code = code;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
